package com.example.hms.Dao;

import com.example.hms.entity.RoomType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface RoomTypeDao {
    List<RoomType> selectAllRoomType(@Param("roomTypeName")String roomTypeName,
                                     @Param("roomPrice") BigDecimal roomPrice);
    int insert(RoomType roomType);

    int update(@Param("roomTypeId")String roomTypeId);

}
